<template>
  <nut-form>
    <nut-form-item label="开关">
      <nut-switch v-model="switchFlag"></nut-switch>
    </nut-form-item>
  </nut-form>
</template>

<route lang="json">
{
  "layout": "home",
  "style": {
    "navigationBarTitleText": "消息推送",
    "backgroundColorContent": "#f1f1f1"
  }
}
</route>

<script setup lang="ts">
const switchFlag = ref<boolean>(false)
</script>